package com.data.modules.smzh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.data.modules.system.vo.SysUserDepVo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: user
 * @Author: data-boot
 * @Date:   2022-11-27
 * @Version: V1.0
 */
@Data
@TableName("sm_manage.user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="user对象", description="user")
public class SmUser  implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
	/**开发者APPID*/
	@Excel(name = "开发者APPID", width = 15)
    @ApiModelProperty(value = "开发者APPID")
    private Integer appId;
	/**住户ID*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "住户ID")
    private String personId;
	/**住户编号(手机号）*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "住户编号(手机号）")
    private String personCode;
	/**住户名称*/
	@Excel(name = "住户名称", width = 15)
    @ApiModelProperty(value = "住户名称")
    private String personName;
	/**住户类型*/
	/*@Excel(name = "住户类型", width = 15)*/
    @ApiModelProperty(value = "住户类型")
    private Integer type;
	/**来源*/
	/*@Excel(name = "来源", width = 15)*/
    @ApiModelProperty(value = "来源")
    private String source;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

	@TableField(exist = false)
	private String imagePath;
	/**修改时间*//*
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
	*//**创建人*//*
    @ApiModelProperty(value = "创建人")
    private String createBy;
	*//**更新人*//*
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	*//**所属部门*//*
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;*/
	/**人脸照片*//*
	@Excel(name = "人脸照片", width = 15)
    @ApiModelProperty(value = "人脸照片")
    private String faseImage;*/
}
